package com.zy.stock.dto;

import java.util.Date;

public class StockTranscationDto extends BaseDto{
	
	private Integer id;
	
	private Integer alertId;//相关提醒
	
	private Integer userId;//关联用户id
	
	private String userName;//关联用户名称
	
	private Integer stockId;//关联股票id
	
	private String stockName;//关联股票名称
	
	private String stockCode;//关联股票编码
	
	private String operation;//相关操作类型 1 建仓 2 首次补仓 3 二次补仓 4 卖出（为以后考虑预留）
	
	private Integer operateNum;//操作数量
	
	private Double value;//成交价
	
	private Double earnings;//收益
	
	private String status;//提醒状态 未完成 已完成
	
	private String year;//年份 2015（买入卖出均可选） 2015其他（针对卖出） 2016（买入卖出均可选） 2016其他（针对卖出） 2017（买入卖出均可选） 2017其他（针对卖出）
	
	private Date createTime;
	
	private Date updateTime;
	
	private Integer userStockRlId;//持仓id
	
	public Integer getUserStockRlId() {
    return userStockRlId;
  }

  public void setUserStockRlId(Integer userStockRlId) {
    this.userStockRlId = userStockRlId;
  }

  public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAlertId() {
		return alertId;
	}

	public void setAlertId(Integer alertId) {
		this.alertId = alertId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getStockId() {
		return stockId;
	}

	public void setStockId(Integer stockId) {
		this.stockId = stockId;
	}

	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public Integer getOperateNum() {
		return operateNum;
	}

	public void setOperateNum(Integer operateNum) {
		this.operateNum = operateNum;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public Double getEarnings() {
		return earnings;
	}

	public void setEarnings(Double earnings) {
		this.earnings = earnings;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}
